package dimdidu.product;

import java.util.ArrayList;
import java.util.List;
import dimdidu.interface_class.RdbmsDAO;

public class ProductDAO extends RdbmsDAO{
	
	private static ProductDAO instance;
	public static ProductDAO getProductDAO(){
		if(instance==null){
			instance = new ProductDAO();
		}
		return instance;
	}
	private ProductDAO(){}
	

	public int createProduct(ProductVO product){
		int count=0;
		
		return count;
	}
	
	public int modifyProduct(ProductVO product){
		int count=0;
		
		return count;
	}
	
	public int deleteProduct(int productNo){
		int count=0;
		
		return count;
	}
	
	public ProductVO findProductById(int productId){
		ProductVO product=null;
		
		
		return product;
	}
	
	public List<ProductVO> findAllProduct(){
		List productList = new ArrayList<ProductVO>();
		
		return productList;
	}
	
	public List<ProductVO> findProductByName(String name){
		List noticeList = new ArrayList<ProductVO>();
		
		return noticeList;
	}

}
